﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace GranitePackageSystem.Views.ChildWindows
{
    public partial class RequestModificationChoice : ChildWindow
    {
        public string choice;
        public string reqID;
        public RequestModificationChoice(String PackageName, String reqID)
        {
            InitializeComponent();
            txtPackageName.Text = PackageName;
            this.reqID = reqID;
        }
        
        private void CloseWindow_Click(object sender, RoutedEventArgs e)
        {
            this.choice = "CloseWindow";
            this.Close();
        }

        private void Modify_Click(object sender, RoutedEventArgs e)
        {
            this.choice = "Modify";
            this.Close();
        }

        private void CancelReq_Click(object sender, RoutedEventArgs e)
        {
            this.choice = "CancelRequest";
            this.Close();
        }
    }
}

